import { request } from "../request";

export const apiSysConfigSysInfoGet =  ()=>{
    return request({
        method:"GET",
        url:"/api/sysConfig/sysInfo"
    })
}

export const apiSysConfigPagePost = (data:any)=>{
    return request({
        method:"POST",
        url:"/api/sysConfig/page",
        data
    })
}

export const apiSysConfigGroupListGet = ()=>{
    return request({
        method:"GET",
        url:"/api/sysConfig/groupList"
    })
}

export const apiSysConfigUpdatePost = (data:any)=>{
    return request({
        method:"POST",
        url:"/api/sysConfig/update",
        data
    })
}

export const apiSysConfigAddPost = (data:any)=>{
    return request({
        method:"POST",
        url:"/api/sysConfig/add",
        data
    })
}

export const apiSysConfigDeletePost = (data:any)=>{
    return request({
        method:"POST",
        url:"/api/sysConfig/delete",
        data
    })
}

export const apiSysConfigSaveSysInfoPost = (data:any)=>{
    return request({
        method:"POST",
        url:"/api/sysConfig/saveSysInfo",
        data
    })
}